package com.bruce.ai.alibaba.workflow.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.alibaba.cloud.ai.graph.store.stores.MemoryStore;

/**
 * 长期记忆的存储配置
 */
@Configuration
public class StoreConfig {
    /**
     * 基于内存的长期记忆
     */
    @Bean
    public MemoryStore memoryStore() {
        return new MemoryStore();
    }

}
